
import '../sass/ProductItem.scss'

function ProductItem(props) {
    return (
        <div className="product-item-item">
            <div className="imgbox">
                <img className='auto-img' src={props.pro.smallImg} alt="" />
            </div>
            <div className="name ellipse-text">{props.pro.name}</div>
            <div className="en-name ellipse-text">{props.pro.enname}</div>
            <div className="price">¥{props.pro.price}</div>
        </div>
    )
}
export default ProductItem